<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp"%>
<script type="text/javascript" src="/js/popWnd.js"></script>
<script type="text/javascript" src="/js/jpush.js"></script>
<script src='/js/upload.js'></script>
<style type="text/css">
/***
body {
	font: 11px Lucida Grande, Verdana, Arial, Helvetica, sans serif;
}*/

#progressBar {
	padding-top: 5px;
}

#progressBarBox {
	width: 350px;
	height: 20px;
	border: 1px inset;
	background: #eee;
}

#progressBarBoxContent {
	width: 0;
	height: 20px;
	border-right: 1px solid #444;
	background: #9ACB34;
}
#progressBar { padding-top: 5px; }
#progressBarBox { width: 320px; height: 20px; border: 1px inset; background: #eee;}
</style>
<div id="uploadDiv" style="display:none;width:320px;height:180px">	
	<form id="uploadform" action="<%=request.getContextPath() %>/adm/upload.do" enctype="multipart/form-data" method="post"
		onsubmit="startProgress()" target="upload_iframe">
		<h1>Web upload</h1>
		<input class="default" type="file" id="file1" name="upload" value="上传"/>
		<br />
		<input type="submit" value="Upload" id="uploadbutton" />
		<br />
		<iframe id="upload_iframe" name="upload_iframe" src="about:blank" style="width:0;height:0;display:none;border:0;"></iframe>
		<div id="progressBar" style="display: none;">
			<div id="theMeter">
				<div id="progressBarText"></div>
				<div id="progressBarBox">
					<div id="progressBarBoxContent"></div>
				</div>
			</div>
		</div>
	</form>
</div>
